﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace CoolCode.Controls
{
    public partial class XHeader : UserControl, IClosableHeader
    {
        public XHeader()
        {
            InitializeComponent();
        } 

        public string HeaderText
        {
            get { return this.TextBlockHeader.Text; }
            set { this.TextBlockHeader.Text = value; }
        } 

        public Visibility ButtonIsVisibility
        {
            get { return this.close.Visibility; }
            set { this.close.Visibility = value; }
        }
    }
}
